
import java.math.BigDecimal;

public class Dec {
    public static void main(String[] args) {
    	double x = 0.2;
    	double y = 1;
    	double z;
    	z = y - x ;
    	if (z == 0.2) {
    		System.out.println("YES");
    	}
    	else {
    		System.out.println("NO");
    	}
        BigDecimal a = new BigDecimal("1.0");
        BigDecimal b = new BigDecimal("0.2");
        BigDecimal c = a.subtract(b);
        System.out.printf("c : %f,z : %f",c,z);
    }
}
